package org.zxyj.core.constants;
/**
 * 系统参数字典枚举类
    * @ClassName: SysParamsDict
    * @author liuyong
    * @date 2016年3月24日
    *
 */
public class SysParamsDict {
	
	/**
	 * 状态码
	    * @ClassName: STATUS_CODE
	    * @author liuyong
	    * @date 2016年4月5日
	    *
	 */
	public enum STATUS_CODE{
		SUCCESS("成功！","000000"),FAIL("失败！","999999");
		STATUS_CODE(String name,String value){
			this.name = name;
			this.value = value;
		}
		private String name;
		private String value;
        public String getName() {
            return name;
        }
        public String getValue() {
        	return value;
        }
	}
	
	/**
	 * 答卷校验状态码
	    * @ClassName: CHECK_STATUS_CODE
	    * @author liuyong
	    * @date 2016年8月12日
	 */
	public enum CHECK_STATUS_CODE{
		SUCCESS("成功！","000000"),NOTEMP("模板没查到！","000001"),NOSTUDENT("考生未查到！","000002"),NOPAPER_ZM("正面答卷未查到！","000003"),
		PASS("校验通过！","000004"),NO_ZMTZD("未设置正面特征点！","000005"),NO_FMTZD("未设置反面特征点！","000006"),NO_KSBH("未设置考生编号！","000007"),
		NO_KSBHCJ("未设置考生编号采集点或设置不正确！","000008"),NO_QK("未设置缺考！","000009"),NO_OBJECTIVE("未设置的客观题!","000021"),NO_ANSWER("未设置客观题答案!","000022"),
		FAIL("失败！","999999");
		CHECK_STATUS_CODE(String name,String value){
			this.name = name;
			this.value = value;
		}
		private String name;
		private String value;
        public String getName() {
            return name;
        }
        public String getValue() {
        	return value;
        }
	}
	
	/**
	 * 是否
	    * @ClassName: YES_OR_NO
	    * @author liuyong
	    * @date 2016年4月25日
	    *
	 */
	public enum YES_OR_NO{
		NO("否","0"),YES("是","1");
		YES_OR_NO(String name,String value){
			this.name = name;
			this.value = value;
		}
		private String name;
		private String value;
        public String getName() {
            return name;
        }
        public String getValue() {
        	return value;
        }
	}
	
	/**
	 * SEX
	 * @ClassName: SEX
	 * @author liuyong
	 * @date 2016年4月25日
	 *
	 */
	public enum SEX{
		MAN("男","M"),FAMALE("女","F");
		SEX(String name,String value){
			this.name = name;
			this.value = value;
		}
		private String name;
		private String value;
		public String getName() {
			return name;
		}
		public String getValue() {
			return value;
		}
	}
	
	/**
	 * STATUS
	 * @ClassName: STATUS
	 * @author liuyong
	 * @date 2016年4月25日
	 *
	 */
	public enum STATUS{
		ON("启用","1"),OFF("关闭","0");
		STATUS(String name,String value){
			this.name = name;
			this.value = value;
		}
		private String name;
		private String value;
		public String getName() {
			return name;
		}
		public String getValue() {
			return value;
		}
	}
	
}
